﻿using System;

namespace CMS.Model {
	/// <summary>
	/// 文章
	/// </summary>
	public class Article {
		/// <summary>
		/// 文章编号
		/// </summary>
		public int ID;
		/// <summary>
		/// 所属栏目编号
		/// </summary>
		public int CategoryID;
		/// <summary>
		/// 文章标题
		/// </summary>
		public string Title;
		/// <summary>
		/// 内容摘要
		/// </summary>
		public string Summary;
		/// <summary>
		/// 内容正文
		/// </summary>
		public string Content;
		/// <summary>
		/// 关键词 ( 多关键词以空格分隔 )
		/// </summary>
		public string Tags;
		/// <summary>
		/// 发布时间
		/// </summary>
		public DateTime AddTime;
		/// <summary>
		/// 排序, 大的靠前
		/// </summary>
		public int Sort;
		/// <summary>
		/// 文章作者
		/// </summary>
		public string Author;
		/// <summary>
		/// 创建人或最后编辑人
		/// </summary>
		public string Poster;
		/// <summary>
		/// 用于文章列表时突出显示的标题颜色
		/// </summary>
		public string TitleColor;
		/// <summary>
		/// 文章被点击次数
		/// </summary>
		public int Hits;
		/// <summary>
		/// 是否设置为精华
		/// </summary>
		public bool Elite;
		/// <summary>
		/// 是否设置为置顶
		/// </summary>
		public bool OnTop;
		/// <summary>
		/// 1: 禁用, 0: 启用
		/// </summary>
		public bool Disabled;
		/// <summary>
		/// 语言 ( en, cn, tw )
		/// </summary>
		public string Lang;
	}
}
